%\makeatletter
%\setcounter{tocdepth}{4}
\oddsidemargin 0.4in \evensidemargin 0.4in
%\marginparwidth 40pt \marginparsep 15pt
%\topmargin 0pt \headsep 0in
%\textheight 8.1in \textwidth 5.7in

\def\titlep{%
    \thispagestyle{empty}%
        %\null%
    \begin{center}
                  {\small{\textsc{Politecnico di Milano}}\\
                  \small{\textsc{Facolt\`{a} di Ingegneria}}\\
                  \small{\textsc{Corso di Laurea in Ingegneria Informatica}}
          \vskip 1 cm
                  \includegraphics[scale=.35]{images/LogoPoli}}
          \vskip 1 cm
    \end{center}
    %\vfill
    \begin{center}
        {\Large\uppercase\expandafter{\@title}}
    \end{center}
    %\vfill

\vspace{3.3cm}
\begin{flushleft}
\begin{tabular}{ll}
{\large Relatore:}    &\large\principaladviser\\[1mm]
{\large Correlatore:} &\large\firstreader\\[5mm]
%{\large Correlatori:} &\large\firstreader\\
%                      &\large\secondreader\\[5mm]
\end{tabular}
\end{flushleft}
\vspace{1.5cm}
\begin{flushright}
\begin{tabular}{l}
{\large Tesi di Laurea di:}\\
\textbf{\large\autore}\\
{\large Matricola n. }\
\large\matricola\\
%\textbf{\large\autorex}\\
%{\large Matricola n. }\
%\large\matricolax\\
\end{tabular}
\end{flushright}
\vspace{1 cm}


     %\vfill
     \begin{center}
     \sc Anno Accademico \annoacc
     \end{center}}%\vskip.5in\newpage}


\pagestyle{empty}
\newpage


\makeatother
% PAGE HEADERS
%\pagestyle{fancy}
%\renewcommand{\chaptermark}[1]{\markboth{{\chaptername}\ \thechapter.\hspace{1em}#1}{}}

% definisce l'header e il footer
%\lhead[\fancyplain{}{}]{\fancyplain{}{\leftmark}} \chead{} \rhead{\thepage}
%\lfoot{} \cfoot{} \rfoot{}
